From: Giovanni Campagna Date: Mon, 2 Mar 2015 08:30:20 +0000 (-0800) Subject: calendar: fix title at shell startup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1614 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f015f4574f696b630b6967ecf4d3c5a3d01a82f4;p=gnome-shell.git calendar: fix title at shell startup Make sure the message list section is set to the current date when opening the menu, otherwise the calendar might skip the selected-date-changed event (because the day did not change) which would leave the message list with an uninitialized date. https://bugzilla.gnome.org/show_bug.cgi?id=745412 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index a36da317b..4316006c4 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -365,6 +365,7 @@ const DateMenuButton = new Lang.Class({ let now = new Date(); this._calendar.setDate(now); this._date.setDate(now); + this._messageList.setDate(now); } // Block notification banners while the menu is open Main.messageTray.bannerBlocked = isOpen;